const {Signale} = require('signale');
var d = require('silly-datetime').format(new Date(), 'YYYY-MM-DD HH:mm:ss');

const options = {
  scope: d,
  types: {
    ok:{
      badge : "[OK]",
      color : 'cyanBright',
      label : ''
    },
    info:{
      badge : "[INFO]",
      color : 'greenBright' ,
      label : ''
    },
    warn: {
      badge : "[WARN]",
      color: 'yellowBright',
      label: ''
    },
    error: {
      badge : "[ERROR]",
      color: 'redBright',
      label: ''
    },
    busy:{
      badge : "[..]",
      color : 'magentaBright',
      label : ''
    },
    debug:{
      badge : "[??]",
      color: 'yellow',
      label: ''
    }
  }
};

LB.log = new Signale(options);